package com.teemor.common.kafka;

import com.teemor.common.bean.utils.redis.RedisUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.kafka.annotation.EnableKafka;

@SpringBootApplication
@EnableFeignClients
@EnableKafka
@ComponentScan(basePackages = "com.teemor.*")
public class KafkaApplication {

    public static void main(String[] args) {
        RedisUtils.init("common.teemor.xyz",6379, "zlk123789456..");
        SpringApplication.run(KafkaApplication.class, args);
    }

}
